add_executable(TestBA TestBA.cpp)
target_link_libraries(TestBA bays)

add_executable(TestIT TestIT.cpp)
target_link_libraries(TestIT bays)

add_executable(TestFL TestFL.cpp)
target_link_libraries(TestFL bays)

add_executable(UnitTest UnitTest.cpp
        TestSegmentsIntersector.H
        TestSegmentsIntersector.cpp
        TestLocater.h
        TestLocater.cpp
        TestYinSetsBooleanOps.cpp
        TestYinSetsBooleanOps.H)
target_link_libraries(UnitTest ${CPPUNIT_LIBRARIES} bays)

add_test(NAME UnitTest COMMAND UnitTest WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)

